package com.qianchang.microfinance.bean;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述:
 * 修 改 人: zhoulai
 * 修改时间: 2017/7/6 15:30
 */


public class ContractBean implements Serializable {

    private String contactPeopleName;
    private String contactPeoplePhone;
    private int contactStatus;
    private String contactRelationship;
    private boolean hasData;

    public ContractBean() {
    }

    public ContractBean(String contactPeopleName, String contactPeoplePhone, int contactStatus, String contactRelationship,boolean hasData) {
        this.contactPeopleName = contactPeopleName;
        this.contactPeoplePhone = contactPeoplePhone;
        this.contactStatus = contactStatus;
        this.contactRelationship = contactRelationship;
        this.hasData = hasData;
    }

    public String getcontactPeopleName() {
        return contactPeopleName;
    }

    public void setcontactPeopleName(String contactPeopleName) {
        this.contactPeopleName = contactPeopleName;
    }

    public String getcontactPeoplePhone() {
        return contactPeoplePhone;
    }

    public void setcontactPeoplePhone(String contactPeoplePhone) {
        this.contactPeoplePhone = contactPeoplePhone;
    }


    public int getContactStatus() {
        return contactStatus;
    }

    public void setContactStatus(int contactStatus) {
        this.contactStatus = contactStatus;
    }

    public String getcontactRelationship() {
        return contactRelationship;
    }

    public void setcontactRelationship(String contactRelationship) {
        this.contactRelationship = contactRelationship;
    }

    public boolean isHasData() {
        return !TextUtils.isEmpty(contactPeoplePhone);
    }

    public void setHasData(boolean hasData) {
        this.hasData = hasData;
    }
}
